<!DOCTYPE html>
<html lang="en" ng-app="myApp">
<head>
    <meta charset="UTF-8">
    <title>hello Angular</title>
</head>
<body>
<div>
  <p>在输入框中尝试输入：</p>
  <p>姓名：<input type="text" ng-model="name"></p>
  <p ng-bind="name"></p>
</div>
<div data-ng-app="" data-ng-init="firstName='John'">

<p>姓名为 <span data-ng-bind="firstName"></span></p>

</div>

<div ng-init="firstName1='John'">

<p>姓名为 <span ng-bind="firstName1"></span></p>

</div>
<div >
  <p>年龄：<input type="text" ng-model="age"></p>
  <p>我的第一个表达式： {{ 5 * age }}</p>
</div>
 <div >
  <input type="text" ng-model="yourName" placeholder="Enter a name here">
  <h1>Hello, {{ yourName }}!{{person.name}}</h1>
</div>
<helloWorld>ghfhgfhgf</helloWorld>
<div hello-world></div>
<script src="//cdn.bootcss.com/angular.js/1.4.3/angular.js"></script>
<script src="main.js"></script>
</body>
</html>
